/**
 * 
 */
package net.sahv.bdyz.service;

import java.util.List;

import net.sahv.bdyz.mapper.FabricfilterPatternprintMapper;
import net.sahv.bdyz.model.FabricfilterPatternprint;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 张天敏
 * @date 日期：2016年10月6日 时间：下午3:19:33
 */
@Service
public class FabricfilterPatternprintService {
	
	@Autowired
	private FabricfilterPatternprintMapper fabricfilterPatternprintMapper;
	
    public int deleteByPrimaryKey(Integer fpId){
    	return fabricfilterPatternprintMapper.deleteByPrimaryKey(fpId);
    }

    public int insert(FabricfilterPatternprint record){
    	return fabricfilterPatternprintMapper.insert(record);
    }

    public FabricfilterPatternprint selectByPrimaryKey(Integer fpId){
    	return fabricfilterPatternprintMapper.selectByPrimaryKey(fpId);
    }

    public List<FabricfilterPatternprint> selectAll(){
    	return fabricfilterPatternprintMapper.selectAll();
    }

    public int updateByPrimaryKey(FabricfilterPatternprint record){
    	return fabricfilterPatternprintMapper.updateByPrimaryKey(record);
    }

}
